You are here: Record management > Rule testing > PegaUnit testing > Cleaning up your test environment
Cleaning up your test environment
After you run a PegaUnit test case, data pages used to set up the test environment are automatically removed. You can also use activities to create any required test data such as work or data objects.
You can also apply additional data transforms or activities to remove other pages or information on the clipboard before you run more test cases.
Complete the following steps.
- Optional: Open the PegaUnit test case if it is not already open.
- Click the Setup & Cleanup tab.
- In the Cleanup section, click Add step.
- Select either Apply data transform or Execute activity and then provide the data transform and then provide the appropriate data transform or activity in the next field.
- If parameters are configured on the rule, you can configure them by clicking the Parameters link and providing values in the Configure parameters dialog box.
- Optional:Provide additional information in the Enter comments field.
- Click Save.
Open topic with navigation